<template>
<div>
	<hr />
	compositionAPI:v-model-单个
	{{mainData.name1}}
	<Vmodel1Child v-model='mainData.name1'></Vmodel1Child>
</div>
</template>
<script>
import { reactive } from "vue";
import Vmodel1Child from '/@/compositionAPI/vmodels/Vmodel1Child.vue'
export default {
	name: 'Vmodel1',
	components: {
        Vmodel1Child,
    },
	setup () {
		const mainData = reactive({
			name1: '11',
			name2: '22',
		});

		return {
			mainData,
		}
	},
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>